.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.recommended-product {
    padding: 20px;
}

.recommended-product .product-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-top:10px ;
    border-top: 1px solid #cecece;
}

.recommended-product .product-item .product-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-right: 20px;
}

.recommended-product .product-item .ShoppingCart-product-info {
    flex: 1;
}

.recommended-product .product-item .product-name {
    display: block; /* 确保元素作为块级元素显示 */
    /*white-space: nowrap;  !* 保证商品名称不换行 *!*/
    overflow: hidden;     /* 隐藏超出的部分 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    cursor: pointer;
    color: #333;
    max-width: 100%; /* 确保元素不会超出父容器宽度 */
}

.recommended-product .product-item .product-num {
    margin-bottom: 5px;
}